home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / gfx / kaleidos.lha / Readme.doc < prev   
Text File  |  1993-03-08  |  2KB  |  58 lines

  1. Monday 9th October 1995
  2. © JIPsoft
  3.  
  4.  
  5.  
  6.                             Kaleidoscope
  7.                             ------------
  8.  
  9. This program generates pretty pictures. To generate a picture it needs a file
  10. for a source. The file can be of any format, but it must be at least 25 bytes
  11. long. The resulting picture can then be saved as an IFF file.
  12.   I will now explain the actual algorithm. First the program uses the source
  13. file's first 24 bytes for colour values for its 16 colour registers. They are
  14. read thus:
  15.             Byte 0  Byte 1  Byte 2
  16.             012345670123456701234567
  17.             |----------||----------|
  18.                   \/         \/
  19.                Colour 0   Colour 1
  20.   Then the program uses the remaining bytes as the main picture data. It
  21. creates one triangular pattern of 8256 pixels, like so:
  22.             ********  Row 0 (128 pixels)
  23.             *******
  24.             ******    ...
  25.             *****
  26.             ****      ...
  27.             ***
  28.             **
  29.             *         Row 127 (1 pixel)
  30.   And then it copies the pattern seven times to form an eight-way mirror image
  31. on the screen. Each byte contains the colour value for two pixels - the first
  32. uses the upper nibble, the second uses the lower nibble.
  33.   The resulting picture can be saved as an IFF file. Its format is PAL Lo-Res,
  34. 16 colours, no overscan. This program won't be much fun on NTSC systems, but I
  35. think it may still work.
  36.  
  37. This program was coded by me, JIPsoft alias Joona Palaste, on the 9th of
  38. October 1995, in about half an hour. It was programmed and compiled in AMOS. No
  39. other software was involved.
  40.   This program is FREEWARE, but all my main games are SHAREWARE. To get them,
  41. either visit AmiNet or write to me:
  42.  
  43.         Joona Palaste
  44.         Toppelundintie 3B 19
  45.         02170 Espoo
  46.         Finland
  47.  
  48.         Or E-Mail: jopalast@freenet.hut.fi / jpalaste@freenet.hut.fi
  49.         At least one of these E-Mail addresses should work, so try both.
  50.  
  51. If you write me a letter or send me an E-Mail, I will give you all my games,
  52. providing you send me a DD disk (doesn't have to be formatted) and a donation
  53. of at least £1 / 7 FIM. There are about half a dozen games in total.
  54.  
  55.         Adios Amiga Amigos,
  56.                             Joona Palaste.
  57.  
  58.